Class PXDexception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ampere.base.xml.PXDexception
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionPXDexception(Node node, int code) Constructs an instance ofPXDexceptionwith the specified detail message.PXDexception(Node node, int code, String msg) Constructs an instance ofPXDexceptionwith the specified detail message.PXDexception(Node node, Collection<? extends ErrorMessage> msgs) Construct an exception in a XML/PXD file with associated error messagesPXDexception(Node node, ErrorMessage... msgs) Construct an exception in a XML/PXD file with associated error messages -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
BAD_URI
public static final int BAD_URI- See Also:
-
BAD_VALUE
public static final int BAD_VALUE- See Also:
-
BAD_ATTRIBUTE
public static final int BAD_ATTRIBUTE- See Also:
-
ONE_SIGNAL_REQUIRED
public static final int ONE_SIGNAL_REQUIRED- See Also:
-
TOO_MUCH_ORDINATES
public static final int TOO_MUCH_ORDINATES- See Also:
-
UNKNOWN_URI
public static final int UNKNOWN_URI- See Also:
-
CANNOT_OPEN_FILE
public static final int CANNOT_OPEN_FILE- See Also:
-
PHYSICAL_DIMENSION_MISMATCH
public static final int PHYSICAL_DIMENSION_MISMATCH- See Also:
-
BAD_FORMAT_ATTRIBUTE
public static final int BAD_FORMAT_ATTRIBUTE- See Also:
-
BAD_FORMAT_VALUE
public static final int BAD_FORMAT_VALUE- See Also:
-
BAD_PHYSICAL_DOMAIN_BASE
public static final int BAD_PHYSICAL_DOMAIN_BASE- See Also:
-
BAD_PHYSICAL_DOMAIN_MODIFIER
public static final int BAD_PHYSICAL_DOMAIN_MODIFIER- See Also:
-
-
Constructor Details
-
PXDexception
-
PXDexception
Construct an exception in a XML/PXD file with associated error messages- Parameters:
node- corresponding XML Document nodemsgs- error messages
-
PXDexception
Construct an exception in a XML/PXD file with associated error messages- Parameters:
node- corresponding XML Document nodemsgs- error messages
-
PXDexception
Constructs an instance ofPXDexceptionwith the specified detail message.- Parameters:
node- associated nodecode- associated code
-
-
Method Details
-
getMsg
- Parameters:
code- search code- Returns:
- the associated message
-
getMessage
- Overrides:
getMessagein classThrowable
-