public class JDFException extends RuntimeException
| Constructor and Description |
|---|
JDFException(String message)
constructor the id is calculated as a hash code
|
JDFException(String message,
boolean bPrintStack)
Deprecated.
print the stack trace in the application
|
JDFException(String message,
int _id)
constructor if a stack trace is needed use JDFException (String message, boolean bPrintStack)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
equals that includes the value of id
|
int |
getID()
return a unique identifier of this exception if id was not explicitley set, a hash code is returned
|
int |
hashCode() |
String |
toString()
toString - StringRepresentation of JDFNode
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JDFException(String message)
message - the message to print outpublic JDFException(String message, int _id)
message - _id - id of the exception - never use id=0, since this is the flag to use the has code as id@Deprecated public JDFException(String message, boolean bPrintStack)
message - bPrintStack - print Stacktrace if truepublic boolean equals(Object obj)
equals in class Objectobj - Object.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
public int getID()
Copyright © 2013. All Rights Reserved.