public class SamException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private SamType |
type
the SAM type that caused this exception
|
| Constructor and Description |
|---|
SamException(SamType type)
Creates a SamException for a specific SamType.
|
SamException(SamType type,
java.lang.String message)
Creates a SamException for a specific SamType, with message.
|
SamException(SamType type,
java.lang.String message,
java.lang.Throwable cause)
Creates a SamException for a specific SamType, with a message and the
cause that resulted in this exception.
|
SamException(SamType type,
java.lang.Throwable cause)
Creates a SamException for a specific SamType, with the cause resulted in
this exception.
|
| Modifier and Type | Method and Description |
|---|---|
SamType |
getSamType()
Gets the registered SAM algorithm type associated with this SamException.
|
private static final long serialVersionUID
private final SamType type
public SamException(SamType type)
type - the type value for the SAM algorithm associated with this exceptionpublic SamException(SamType type, java.lang.String message)
type - the type value for the SAM algorithm associated with this exceptionmessage - a message regarding the nature of the faultpublic SamException(SamType type, java.lang.Throwable cause)
type - the type value for the SAM algorithm associated with this exceptioncause - the throwable that resulted in this exception being thrownpublic SamException(SamType type, java.lang.String message, java.lang.Throwable cause)
type - the type value for the SAM algorithm associated with this exceptionmessage - a message regarding the nature of the faultcause - the throwable that resulted in this exception being thrownpublic SamType getSamType()