public class AlgorithmException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
java.lang.String |
stacktrace |
Constructor and Description |
---|
AlgorithmException(java.lang.String message)
Constructs a new algorithm exception with the specified detail message, no stack trace.
|
AlgorithmException(java.lang.String message,
AlgorithmException cause,
java.lang.String stacktrace)
Constructs a new algorithm exception from an exception message and stacktrace
|
AlgorithmException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new algorithm exception with the specified detail message and cause.
|
AlgorithmException(java.lang.Throwable throwable)
Constructs a new algorithm exception from an existing exception
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public AlgorithmException(java.lang.String message)
message
- the detail messagepublic AlgorithmException(java.lang.String message, java.lang.Throwable cause)
message
- the detail messagecause
- the cause of the AlgorithmExceptionpublic AlgorithmException(java.lang.Throwable throwable)
throwable
- the original Exception to wrap in an AlgorithmExceptionpublic AlgorithmException(java.lang.String message, AlgorithmException cause, java.lang.String stacktrace)
message
- the detail messagecause
- the cause of the AlgorithmExceptionstacktrace
- the stack trace that caused this exception