Module java.naming
Package javax.naming

Class MalformedLinkException

All Implemented Interfaces:
Serializable

public class MalformedLinkException
extends LinkException
This exception is thrown when a malformed link was encountered while resolving or constructing a link.

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

Since:
1.3
See Also:
LinkRef.getLinkName(), LinkRef, Serialized Form
  • Constructor Details

    • MalformedLinkException

      public MalformedLinkException(String explanation)
      Constructs a new instance of MalformedLinkException with an explanation. All the other fields are initialized to null.
      Parameters:
      explanation - A possibly null string containing additional detail about this exception.
    • MalformedLinkException

      public MalformedLinkException()
      Constructs a new instance of Malformed LinkException. All fields are initialized to null.