org.demac.transport
Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.demac.transport.TransportException
- All Implemented Interfaces:
- java.io.Serializable
public class TransportException
- extends java.io.IOException
Exception which indecates failures of transport service
of the DEMAC architecture.
- See Also:
- Serialized Form
Constructor Summary |
TransportException()
Constructor to create a new exception. |
TransportException(int level)
Constructor to create a new exception with a given exception level,
currently out of: SEVERE, WARNING. |
TransportException(java.lang.String str)
Constructor to create a new exception with a given string. |
TransportException(java.lang.String str,
int level)
Constructor to create a new exception with a given string and a
given exception level,
currently out of: SEVERE, WARNING. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SEVERE
public static final int SEVERE
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
TransportException
public TransportException()
- Constructor to create a new exception.
TransportException
public TransportException(int level)
- Constructor to create a new exception with a given exception level,
currently out of: SEVERE, WARNING. The default is WARNING.
- Parameters:
level
- the level of the exception
TransportException
public TransportException(java.lang.String str)
- Constructor to create a new exception with a given string.
- Parameters:
str
- an explanation of the failure
TransportException
public TransportException(java.lang.String str,
int level)
- Constructor to create a new exception with a given string and a
given exception level,
currently out of: SEVERE, WARNING. The default is WARNING.
- Parameters:
str
- an explanation of the failurelevel
- the level of the exception
getExceptionLevel
public int getExceptionLevel()