oracle.panama.messaging.transport
Class DriverException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.panama.messaging.transport.DriverException
- All Implemented Interfaces:
- java.io.Serializable
- public class DriverException
- extends java.lang.Exception
The driver exception.
- See Also:
- Serialized Form
Type | Method |
int |
getLevel()
Get the exception code. |
java.lang.String |
getMessage()
Get the exception message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FATAL
public static final int FATAL
NON_FATAL
public static final int NON_FATAL
DriverException
public DriverException(int level,
java.lang.String msg)
- Constructor.
- Parameters:
level
- the exception level.msg
- the exception message.
getLevel
public int getLevel()
- Get the exception code.
- Returns:
- the exception code.
getMessage
public java.lang.String getMessage()
- Get the exception message.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- the exception message.