public class PackageException extends Exception
| Constructor and Description |
|---|
PackageException()
Create a new exception with no message.
|
PackageException(String message)
Create a new exception with the given message.
|
PackageException(String message,
Throwable cause)
Create a new exception wrapping it around another exception.
|
PackageException(Throwable cause)
Create a new exception wrapping the given underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(org.apache.log4j.Logger log)
Write details of this exception to the indicated logger.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PackageException()
public PackageException(String message)
message - - message text.public PackageException(Throwable cause)
cause - - exception specifying the cause of this failure.Copyright © 2017 DuraSpace. All rights reserved.