org.geotools.arcsde
Class ArcSdeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.geotools.arcsde.ArcSdeException
- All Implemented Interfaces:
- java.io.Serializable
public class ArcSdeException
- extends java.io.IOException
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
- Version:
- $Id: ArcSdeException.java 33499 2009-07-06 22:57:02Z groldan $
- Author:
- Gabriel Roldan (TOPP)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArcSdeException
public ArcSdeException(SeException cause)
ArcSdeException
public ArcSdeException(java.lang.String msg,
SeException cause)
getCause
public SeException getCause()
- Overrides:
getCause
in class java.lang.Throwable
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getSeError
public SeError getSeError()
toMessage
public static java.lang.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-2010 Geotools. All Rights Reserved.