|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.itsnat.core.ItsNatException
public class ItsNatException
Is the principal unchecked exception provided by ItsNat. Every checked exception thrown internally is encapsulated inside this exception type.
| Field Summary | |
|---|---|
protected java.lang.Object |
context
|
| Constructor Summary | |
|---|---|
ItsNatException(java.lang.String message)
Creates a new instance. |
|
ItsNatException(java.lang.String message,
java.lang.Object context)
Creates a new instance. |
|
ItsNatException(java.lang.String message,
java.lang.Throwable ex)
Creates a new instance. |
|
ItsNatException(java.lang.String message,
java.lang.Throwable ex,
java.lang.Object context)
Creates a new instance. |
|
ItsNatException(java.lang.Throwable ex)
Creates a new instance. |
|
ItsNatException(java.lang.Throwable ex,
java.lang.Object context)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getContext()
Returns the object context of this exception, for instance the DOM node related with the exception. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object context
| Constructor Detail |
|---|
public ItsNatException(java.lang.Throwable ex)
ex - the cause of this exception, is submitted to the parent exception.public ItsNatException(java.lang.String message)
message - the detail message, is submitted to the parent exception.
public ItsNatException(java.lang.String message,
java.lang.Throwable ex)
ex - the cause of this exception, is submitted to the parent exception.message - the detail message, is submitted to the parent exception.
public ItsNatException(java.lang.Throwable ex,
java.lang.Object context)
ex - the cause of this exception, is submitted to the parent exception.context - the object context of this exception.
public ItsNatException(java.lang.String message,
java.lang.Object context)
message - the detail message, is submitted to the parent exception.context - the object context of this exception.
public ItsNatException(java.lang.String message,
java.lang.Throwable ex,
java.lang.Object context)
ex - the cause of this exception, is submitted to the parent exception.message - the detail message, is submitted to the parent exception.context - the object context of this exception.| Method Detail |
|---|
public java.lang.Object getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||