Class LLPException

All Implemented Interfaces:
Serializable

public class LLPException extends Exception
Represents a problem encountered while using a Lower Layer Protocol. This exception serves to wrap the wide variety of other exceptions that might be encountered with various protocols.
Author:
Bryan Tripp
See Also:
  • Constructor Details

    • LLPException

      public LLPException(String msg)
      Constructs an LLPException with the specified detail message.
      Parameters:
      msg - the detail message.
    • LLPException

      public LLPException(String msg, Exception e)
      Constructs an LLPException with the specified detail message and embedded exception.
      Parameters:
      msg - the detail message.
      e - an embedded exception (should normally represent the cause of the LLPException)
  • Method Details

    • getException

      Deprecated.
      Returns the embedded exception (if any) - this would normally represent the underlying cause of this LLPException. For example, an UnsupportedEncodingException may be raised in a MinLowerLayerProtocol - if this happened the MinLowerLayerProtocol would throw an LLPException, wrapping the original UnsupportedEncodingException, and a call to getException() would return the UnsupportedEncodingException.