Java javax.naming NamingException fields, constructors, methods, implement or subclass

Example usage for Java javax.naming NamingException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.naming NamingException.

The text is from its open source code.

Constructor

NamingException(String explanation)
Constructs a new NamingException with an explanation.
NamingException()
Constructs a new NamingException.

Method

voidaddSuppressed(Throwable exception)
Appends the specified exception to the exceptions that were suppressed in order to deliver this exception.
ThrowablegetCause()
Returns the cause of this exception.
ClassgetClass()
Returns the runtime class of this Object .
StringgetExplanation()
Retrieves the explanation associated with this exception.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ObjectgetResolvedObj()
Retrieves the object to which resolution was successful.
ThrowablegetRootCause()
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.
ThrowableinitCause(Throwable cause)
Initializes the cause of this exception to the specified value.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
voidsetRootCause(Throwable e)
Records the root cause of this NamingException.
StringtoString()
Generates the string representation of this exception.
StringtoString(boolean detail)
Generates the string representation in more detail.