Class IntegrityException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IntegrityException
    extends EnterpriseSecurityException
    An IntegrityException should be thrown when a problem with the integrity of data has been detected. For example, if a financial account cannot be reconciled after a transaction has been performed, an integrity exception should be thrown.
    Author:
    Jeff Williams (jeff.williams@aspectsecurity.com)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IntegrityException()
      Instantiates a new availability exception.
        IntegrityException​(java.lang.String userMessage, java.lang.String logMessage)
      Creates a new instance of IntegrityException.
        IntegrityException​(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
      Instantiates a new IntegrityException.
    • 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

      • IntegrityException

        protected IntegrityException()
        Instantiates a new availability exception.
      • IntegrityException

        public IntegrityException​(java.lang.String userMessage,
                                  java.lang.String logMessage)
        Creates a new instance of IntegrityException.
        Parameters:
        userMessage - the message to display to users
        logMessage - the message logged
      • IntegrityException

        public IntegrityException​(java.lang.String userMessage,
                                  java.lang.String logMessage,
                                  java.lang.Throwable cause)
        Instantiates a new IntegrityException.
        Parameters:
        userMessage - the message to display to users
        logMessage - the message logged
        cause - the cause