Spatial DataBlade
JAVA API v8.21

Uses of Interface
com.ibm.spatial.EventLocation

Packages that use EventLocation
com.ibm.spatial Provides classes necessary to manage the IBM Informix Spatial DataBlade API and to modify default behaviors. 
com.ibm.spatial.util Contains miscellaneous utility classes (localization, logging, error reporting, and library configuration constants). 
 

Uses of EventLocation in com.ibm.spatial
 

Methods in com.ibm.spatial that return EventLocation
static EventLocation SpatialManager.getEventLocation(java.lang.String className, java.lang.String methodName)
          Returns a code locator to use when reporting errors.
 EventLocation SpatialException.getLocation()
          Returns the error location, if any.
 

Methods in com.ibm.spatial with parameters of type EventLocation
static void SpatialManager.reportError(int msgCode, int errorType, java.lang.Object[] args, EventLocation location)
          Report an error of type errorType.
static void SpatialManager.reportError(int msgCode, java.lang.Object[] args, EventLocation location)
          Report a fatal error.
 

Constructors in com.ibm.spatial with parameters of type EventLocation
SpatialException(int errorCode, EventLocation location, java.lang.Exception e)
          Creates a new SpatialException wrapping an existing exception.
SpatialException(int errorCode, java.lang.String message, EventLocation location)
          Creates a new SpatialException.
 

Uses of EventLocation in com.ibm.spatial.util
 

Classes in com.ibm.spatial.util that implement EventLocation
 class CodeLocation
          Implements the EventLocation interface for getting error location in the code: class name and method name.
 

Methods in com.ibm.spatial.util with parameters of type EventLocation
static java.lang.StringBuffer ErrorReporter.formatEventLocation(java.lang.StringBuffer buf, EventLocation location, boolean writeClassInfo)
          Append EventLocation info to the message buffer specified by buf.
static java.lang.String ErrorReporter.formatMessage(int msgCode, MessageProvider provider, java.lang.Object[] args, EventLocation location, boolean writeClassInfo)
          Returns a formatted error message.
 void ErrorReporter.reportError(int errorType, int msgCode, java.lang.Object[] args, EventLocation location)
          Reports an error of type errorType.
 void ErrorReporter.reportRuntimeError(int errorType, int msgCode, java.lang.Object[] args, EventLocation location)
          Reports a runtime error.
 


Spatial DataBlade
JAVA API v8.21


Licensed Materials - Property of IBM
Copyright IBM Corp. 2002, 2012 All Rights Reserved.