Class ImageComparisonException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.romankh3.image.comparison.exception.ImageComparisonException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ImageComparisonException extends java.lang.RuntimeExceptionARuntimeExceptionthat is thrown in case of an image comparison failures.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageComparisonException(java.lang.String message)Constructs a newImageComparisonExceptionwith the specified detail message.ImageComparisonException(java.lang.String message, java.lang.Throwable throwable)Constructs a newImageComparisonExceptionwith the specified detail message and cause.
-
-
-
Constructor Detail
-
ImageComparisonException
public ImageComparisonException(java.lang.String message)
Constructs a newImageComparisonExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
-
ImageComparisonException
public ImageComparisonException(java.lang.String message, java.lang.Throwable throwable)Constructs a newImageComparisonExceptionwith the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in thisImageComparisonException's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).throwable- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-