Class XmlDocumentRuntimeException.Code

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

public static class XmlDocumentRuntimeException.Code extends NfbRuntimeException.Code
Represents a XmlDocumentRuntimeException 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, XmlDocumentRuntimeException.Code mappedCode, String message)
      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