Class WXMException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.waxmill.exceptions.WXMException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WXMExceptionDuplicate, WXMExceptionNonexistent, WXMExceptionUnsatisfiedRequirement, WXMParseException

public class WXMException
extends java.lang.Exception
The base type of exceptions raised by the API.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    WXMException​(java.lang.String message)
    Construct an exception.
    WXMException​(java.lang.String message, java.lang.Throwable cause)
    Construct an exception.
    WXMException​(java.lang.Throwable cause)
    Construct an exception.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WXMException

      public WXMException​(java.lang.String message)
      Construct an exception.
      Parameters:
      message - The message
    • WXMException

      public WXMException​(java.lang.String message, java.lang.Throwable cause)
      Construct an exception.
      Parameters:
      message - The message
      cause - The cause of the exception
    • WXMException

      public WXMException​(java.lang.Throwable cause)
      Construct an exception.
      Parameters:
      cause - The cause of the exception