public class RepositoryException
extends java.lang.Exception
Constructor and Description |
---|
RepositoryException()
Constructs a new instance of this class with
null as its detail message. |
RepositoryException(java.lang.String message)
Constructs a new instance of this class with the specified detail message.
|
RepositoryException(java.lang.String message, java.lang.Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.
|
RepositoryException(java.lang.Throwable rootCause)
Constructs a new instance of this class with the specified root cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of this exception or
null if the cause is nonexistent or unknown. |
java.lang.String |
getLocalizedMessage()
Returns the localized message, including the localized message from the nested exception if there is one.
|
java.lang.String |
getMessage()
Returns the detail message, including the message from the nested exception if there is one.
|
void |
printStackTrace()
Prints this
RepositoryException and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this
RepositoryException and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this
RepositoryException and its backtrace to the specified print writer. |
public RepositoryException()
null
as its detail message.public RepositoryException(java.lang.String message)
message
- the detail message. The detail message is saved for later retrieval by the getMessage()
method.public RepositoryException(java.lang.String message, java.lang.Throwable rootCause)
message
- the detail message. The detail message is saved for later retrieval by the getMessage()
method.rootCause
- root failure causepublic RepositoryException(java.lang.Throwable rootCause)
rootCause
- root failure causepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
null
).public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.Throwable getCause()
null
if the cause is nonexistent or unknown. (The cause is the throwable that caused this exception to get thrown.)getCause
in class java.lang.Throwable
null
if the cause is nonexistent or unknown.public void printStackTrace()
RepositoryException
and its backtrace to the standard error stream.printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
RepositoryException
and its backtrace to the specified print stream.printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
RepositoryException
and its backtrace to the specified print writer.printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputCopyright © 2004-2005 Day Software Management AG. All Rights Reserved.