All Implemented Interfaces:
Serializable

public class SAMExceptionextends Exception
Exception thrown by SAM methods.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Pinned for serialized-form compatibility.
      See Also:
  • Constructor Details

    • SAMException

      public SAMException()
      Creates an exception with no detail message.
    • SAMException

      public SAMException(String s)
      Creates an exception carrying the message shown to the SAM client.
      Parameters:
      s - the detail message naming the SAM call that failed, shown to the SAM client
    • SAMException

      public SAMException(String s, Throwable cause)
      Wrap a protocol or bridge failure that aborts the SAM call.
      Parameters:
      s - the detail message naming the SAM call that failed, shown to the SAM client
      cause - the underlying failure that triggered the rejection, kept as the exception cause