Package javax.jcr.nodetype
Class NoSuchNodeTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.jcr.RepositoryException
-
- javax.jcr.nodetype.NoSuchNodeTypeException
-
- All Implemented Interfaces:
Serializable
public class NoSuchNodeTypeException extends RepositoryException
Exception thrown by node type-related methods.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchNodeTypeException()
Constructs a new instance of this class withnull
as its detail message.NoSuchNodeTypeException(String message)
Constructs a new instance of this class with the specified detail message.NoSuchNodeTypeException(String message, Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.NoSuchNodeTypeException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchNodeTypeException
public NoSuchNodeTypeException()
Constructs a new instance of this class withnull
as its detail message.
-
NoSuchNodeTypeException
public NoSuchNodeTypeException(String message)
Constructs a new instance of this class with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
NoSuchNodeTypeException
public NoSuchNodeTypeException(String message, Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.rootCause
- root failure cause
-
NoSuchNodeTypeException
public NoSuchNodeTypeException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.- Parameters:
rootCause
- root failure cause
-
-