Package com.algorithmia
Class AlgorithmException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.algorithmia.AlgorithmException
-
- All Implemented Interfaces:
java.io.Serializable
public class AlgorithmException extends java.lang.ExceptionAlgorithmExceptions indicate an problem when running an algorithm. AlgorithmExceptions will often be used as a wrapper for other Exceptions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringstacktrace
-
Constructor Summary
Constructors Constructor 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 stacktraceAlgorithmException(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Constructor Detail
-
AlgorithmException
public AlgorithmException(java.lang.String message)
Constructs a new algorithm exception with the specified detail message, no stack trace.- Parameters:
message- the detail message
-
AlgorithmException
public AlgorithmException(java.lang.String message, java.lang.Throwable cause)Constructs a new algorithm exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of the AlgorithmException
-
AlgorithmException
public AlgorithmException(java.lang.Throwable throwable)
Constructs a new algorithm exception from an existing exception- Parameters:
throwable- the original Exception to wrap in an AlgorithmException
-
AlgorithmException
public AlgorithmException(java.lang.String message, AlgorithmException cause, java.lang.String stacktrace)Constructs a new algorithm exception from an exception message and stacktrace- Parameters:
message- the detail messagecause- the cause of the AlgorithmExceptionstacktrace- the stack trace that caused this exception
-
-