Class OverwritingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- uk.gov.gchq.gaffer.commonutil.exception.OverwritingException
-
- All Implemented Interfaces:
Serializable
public class OverwritingException extends IllegalArgumentException
AnOverwritingException
should be thrown when a condition will cause something to be overwritten.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OverwritingException()
Constructs a new overwriting exception with null as its detail message.OverwritingException(String message)
Constructs a new overwriting exception with the specified detail message.OverwritingException(String message, Throwable cause)
Constructs a new overwriting exception with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OverwritingException
public OverwritingException()
Constructs a new overwriting exception with null as its detail message.
-
OverwritingException
public OverwritingException(String message)
Constructs a new overwriting exception with the specified detail message.- Parameters:
message
- Overwriting exception detail message.
-
-