Class DDIException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DDIException
    extends java.lang.RuntimeException
    A general-purpose exception used in the ddi package, used to indicate an error during domain dependent interpretation.
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Christopher Chang
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Constructor Summary

      Constructors 
      Constructor Description
      DDIException()
      Create a DDIException.
      DDIException​(java.lang.String msg)
      Create a DDIException with an error message.
      DDIException​(java.lang.String msg, java.lang.Throwable cause)
      Create a DDIException with an error message and a cause.
      DDIException​(java.lang.Throwable cause)
      Create a DDIException with a 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

      • DDIException

        public DDIException()
        Create a DDIException.
      • DDIException

        public DDIException​(java.lang.String msg)
        Create a DDIException with an error message.
        Parameters:
        msg - The error message.
      • DDIException

        public DDIException​(java.lang.String msg,
                            java.lang.Throwable cause)
        Create a DDIException with an error message and a cause.
        Parameters:
        msg - The error message.
        cause - The cause.
      • DDIException

        public DDIException​(java.lang.Throwable cause)
        Create a DDIException with a cause.
        Parameters:
        cause - The cause.