public class SamException extends Exception
Constructor and Description |
---|
SamException(SamType type)
Creates a SamException for a specific SamType.
|
SamException(SamType type,
String message)
Creates a SamException for a specific SamType, with message.
|
SamException(SamType type,
String message,
Throwable cause)
Creates a SamException for a specific SamType, with a message and the
cause that resulted in this exception.
|
SamException(SamType type,
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SamException(SamType type)
type
- the type value for the SAM algorithm associated with this exceptionpublic SamException(SamType type, 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, 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, String message, 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()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.