Class XmlDocumentCheckedException.Code

java.lang.Object
com.nfbsoftware.exception.NfbCheckedException.Code
com.nfbsoftware.xml.exception.XmlDocumentCheckedException.Code
All Implemented Interfaces:
Serializable
Enclosing class:
XmlDocumentCheckedException

public static class XmlDocumentCheckedException.Code extends NfbCheckedException.Code
Represents a XmlDocumentCheckedException code. This class is used to enforce the practice of using a code defined for this exception class. Instances of the exception cannot be constructed without providing a valid code from this exception's internal Codes interface.
Author:
Brendan Clemenzi
See Also:
  • Constructor Details

    • Code

      protected Code(String code, XmlDocumentCheckedException.Code mappedCode, String message, int severity)
      The protected constructor is provided for subclasses to extend the base code class. This constructor ensures that any subclass codes provide a valid mapped message.
      Parameters:
      code - the code
      mappedCode - the mapped Code
      message - the default message
      severity - the severity