Class CoreException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CoreException
    extends MendixException
    Checked variant of CoreRuntimeException. Use of this exception is not encouraged as occurrences of this exception will be turned into non-checked variants (either CoreRuntimeException or MendixRuntimeException).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CoreException()
      Creates an exception without a message or cause.
      CoreException​(java.lang.String message)
      Creates an exception with the specified message.
      CoreException​(java.lang.String message, java.lang.Throwable cause)
      Creates an exception with the specified message and cause.
      CoreException​(java.lang.Throwable cause)
      Creates an exception with the specified cause.
    • 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 Detail

      • CoreException

        public CoreException()
        Creates an exception without a message or cause.
      • CoreException

        public CoreException​(java.lang.String message)
        Creates an exception with the specified message.
        Parameters:
        message - the exception message
      • CoreException

        public CoreException​(java.lang.Throwable cause)
        Creates an exception with the specified cause.
        Parameters:
        cause - the underlying cause of this exception
      • CoreException

        public CoreException​(java.lang.String message,
                             java.lang.Throwable cause)
        Creates an exception with the specified message and cause.
        Parameters:
        message - the exception message
        cause - the underlying cause of this exception