Class PXDexception

All Implemented Interfaces:
Serializable

public class PXDexception extends RuntimeException
PXD exception
Author:
Herve Morel
See Also:
  • Field Details

  • Constructor Details

    • PXDexception

      public PXDexception(Node node, int code, String msg)
      Constructs an instance of PXDexception with the specified detail message.
      Parameters:
      node - current XML document node
      code - error code
      msg - detailled message.
    • PXDexception

      public PXDexception(Node node, ErrorMessage... msgs)
      Construct an exception in a XML/PXD file with associated error messages
      Parameters:
      node - corresponding XML Document node
      msgs - error messages
    • PXDexception

      public PXDexception(Node node, Collection<? extends ErrorMessage> msgs)
      Construct an exception in a XML/PXD file with associated error messages
      Parameters:
      node - corresponding XML Document node
      msgs - error messages
    • PXDexception

      public PXDexception(Node node, int code)
      Constructs an instance of PXDexception with the specified detail message.
      Parameters:
      node - associated node
      code - associated code
  • Method Details

    • getMsg

      public String getMsg(int code)
      Parameters:
      code - search code
      Returns:
      the associated message
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable