APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming

public Class ServiceUnavailableException

extends NamingException
Class Inheritance

This exception is thrown when attempting to communicate with a directory or naming service and that service is not available. It might be unavailable for different reasons. For example, the server might be too busy to service the request, or the server might not be registered to service any requests, etc.

Synchronization and serialization issues that apply to NamingException apply directly here.

Authors
Rosanna Lee, Scott Seligman
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
ServiceUnavailableException(String
Possibly null additional detail about this exception.
explanation
)

Constructs a new instance of ServiceUnavailableException using an explanation.

public
ServiceUnavailableException()

Constructs a new instance of ServiceUnavailableException.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

ServiceUnavailableExceptionback to summary
public ServiceUnavailableException(String explanation)

Constructs a new instance of ServiceUnavailableException using an explanation. All other fields default to null.

Parameters
explanation:String

Possibly null additional detail about this exception.

See Also
java.lang.Throwable#getMessage
ServiceUnavailableExceptionback to summary
public ServiceUnavailableException()

Constructs a new instance of ServiceUnavailableException. All fields default to null.