org.objectweb.jorm.api
Class PException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.objectweb.jorm.api.PException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PExceptionCoder, PExceptionCompiler, PExceptionIO, PExceptionNaming, PExceptionProtocol, PExceptionTyping
- public class PException
- extends java.lang.Exception
The PException class defines the top level of the jorm exceptions.
- Author:
- P. D?chamboux
- See Also:
- Serialized Form
|
Constructor Summary |
PException()
It builds an new Jorm Exception. |
PException(java.lang.Exception e,
java.lang.String error)
|
PException(java.lang.String error)
It builds an new Jorm Exception with an error message. |
|
Method Summary |
java.lang.Exception |
getNestedException()
It return the DS-specific nested exception associated with this I/O
JORM exception. |
void |
print()
prints the error message to the console. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PException
public PException()
- It builds an new Jorm Exception.
PException
public PException(java.lang.String error)
- It builds an new Jorm Exception with an error message.
- Parameters:
error - The string representation of the error message.
PException
public PException(java.lang.Exception e,
java.lang.String error)
getNestedException
public java.lang.Exception getNestedException()
- It return the DS-specific nested exception associated with this I/O
JORM exception.
- Returns:
- The involved nested exception.
print
public void print()
- prints the error message to the console.
TBD: to a specific channel with MonoLog...