Class ModelVetoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.jdo.api.persistence.model.ModelException
com.sun.jdo.api.persistence.model.ModelVetoException
- All Implemented Interfaces:
Serializable
- Version:
- %I%
- Author:
- raccah
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newModelVetoExceptionwithout detail message andnullas the target exception.ModelVetoException(String msg) Constructs anModelVetoExceptionwith the specified detail message andnullas the target exception..ModelVetoException(Throwable target) Constructs a ModelVetoException with a target exception.ModelVetoException(Throwable target, String s) Constructs a ModelVetoException with a target exception and a detail message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the error message string of this throwable object.Get the thrown target exception.voidPrints the stack trace of the thrown target exception.voidPrints the stack trace of the thrown target exception to the specified print stream.voidPrints the stack trace of the thrown target exception to the specified print writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ModelVetoException
public ModelVetoException()Creates newModelVetoExceptionwithout detail message andnullas the target exception. -
ModelVetoException
Constructs anModelVetoExceptionwith the specified detail message andnullas the target exception..- Parameters:
msg- the detail message.
-
ModelVetoException
Constructs a ModelVetoException with a target exception. -
ModelVetoException
Constructs a ModelVetoException with a target exception and a detail message.
-
-
Method Details
-
getTargetException
Get the thrown target exception. -
getMessage
Returns the error message string of this throwable object.- Overrides:
getMessagein classThrowable- Returns:
- the error message string of this
ModelVetoExceptionobject if it was created with an error message string, the error message of the target exception if it was not created a message but the target exception has a message, ornullif neither has an error message.
-
printStackTrace
public void printStackTrace()Prints the stack trace of the thrown target exception.- Overrides:
printStackTracein classThrowable- See Also:
-
printStackTrace
Prints the stack trace of the thrown target exception to the specified print stream.- Overrides:
printStackTracein classThrowable
-
printStackTrace
Prints the stack trace of the thrown target exception to the specified print writer.- Overrides:
printStackTracein classThrowable
-