Example usage for Java javax.naming NamingException fields, constructors, methods, implement or subclass
The text is from its open source code.
NamingException(String explanation) Constructs a new NamingException with an explanation. | |
NamingException() Constructs a new NamingException. |
void | addSuppressed(Throwable exception) Appends the specified exception to the exceptions that were suppressed in order to deliver this exception. |
Throwable | getCause() Returns the cause of this exception. |
Class> | getClass() Returns the runtime class of this Object . |
String | getExplanation() Retrieves the explanation associated with this exception. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
Object | getResolvedObj() Retrieves the object to which resolution was successful. |
Throwable | getRootCause() Retrieves the root cause of this NamingException, if any. |
Throwable[] | getSuppressed() Returns an array containing all of the exceptions that were suppressed, typically by the try -with-resources statement, in order to deliver this exception. |
Throwable | initCause(Throwable cause) Initializes the cause of this exception to the specified value. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
void | printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. |
void | setRootCause(Throwable e) Records the root cause of this NamingException. |
String | toString() Generates the string representation of this exception. |
String | toString(boolean detail) Generates the string representation in more detail. |