Package org.cip4.jdflib.core
Class JDFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cip4.jdflib.core.JDFException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJDFException(String message) constructor the id is calculated as a hash codeJDFException(String message, boolean bPrintStack) Deprecated.print the stack trace in the applicationJDFException(String message, int _id) constructor if a stack trace is needed use JDFException (String message, boolean bPrintStack) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
JDFException
constructor the id is calculated as a hash code- Parameters:
message- the message to print out
-
JDFException
constructor if a stack trace is needed use JDFException (String message, boolean bPrintStack)- Parameters:
message-_id- id of the exception - never use id=0, since this is the flag to use the has code as id
-
JDFException
Deprecated.print the stack trace in the applicationconstructor- Parameters:
message-bPrintStack- print Stacktrace if true
-
-
Method Details
-
equals
equals that includes the value of id -
hashCode
public int hashCode() -
toString
toString - StringRepresentation of JDFNode -
getID
public int getID()return a unique identifier of this exception if id was not explicitley set, a hash code is returned- Returns:
- int the id
-