|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jcr.RepositoryException
public class RepositoryException
Main exception thrown by classes in this package. May contain an error message and/or another nested exception.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 causeMethod Detail |
---|
public 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 output
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.