Package com.tangosol.util
Class AssertionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.tangosol.util.AssertionException
-
- All Implemented Interfaces:
Serializable
public class AssertionException extends RuntimeException
An AssertionException is thrown when an assertion fails.- Version:
- 1.00, 04/21/99
- Author:
- Cameron Purdy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssertionException()
Constructs a AssertionException with no detail message.AssertionException(String s)
Constructs a AssertionException with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AssertionException
public AssertionException()
Constructs a AssertionException with no detail message. A detail message is a String that describes this particular exception.
-
AssertionException
public AssertionException(String s)
Constructs a AssertionException with the specified detail message. A detail message is a String that describes this particular exception.- Parameters:
s
- the String that contains a detailed message
-
-