org.geotools.arcsde
Class ArcSdeException
Object
Throwable
Exception
IOException
DataSourceException
ArcSdeException
- All Implemented Interfaces:
- Serializable
public class ArcSdeException
- extends DataSourceException
An IOException that wraps an SeException
in order to report the SeError
messages
that otherwise get hidden in a normal stack trace.
- Since:
- 2.5
- Author:
- Gabriel Roldan (TOPP)
- See Also:
- Serialized Form
Method Summary |
SeException |
getCause()
|
String |
getMessage()
|
SeError |
getSeError()
|
static String |
toMessage(SeException e)
SeException is pretty sad (Caused by: com.esri.sde.sdk.client.SeException: ) leaving you to
hunt and peck at the SeError for a good description of what went bad. |
ArcSdeException
public ArcSdeException(SeException cause)
ArcSdeException
public ArcSdeException(String msg,
SeException cause)
getCause
public SeException getCause()
- Overrides:
getCause
in class Throwable
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getSeError
public SeError getSeError()
toMessage
public static String toMessage(SeException e)
- SeException is pretty sad (Caused by: com.esri.sde.sdk.client.SeException: ) leaving you to
hunt and peck at the SeError for a good description of what went bad.
This class tries to grab as much information as possible form SeError.
- Returns:
- String describing the message from SeException.
Copyright © 1996-2009 Geotools. All Rights Reserved.