Package com.sas.metadata.remote
Class MdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.metadata.remote.MdException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsupportedPlatformVersionException
public class MdException
extends Exception
This exception type is used to define a metadata exception in general, whether it
be a read/write/parse exception itself.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static MetadataResourceBundle to load text resources from. -
Constructor Summary
ConstructorsConstructorDescriptionMdException(String s) MdException(String s, String SAS_Message, String SAS_MessageSeverity) MdException(Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
bundle
Bundle to load text resources from.
-
-
Constructor Details
-
MdException
public MdException() -
MdException
public MdException(String s) -
MdException
public MdException(Throwable t) -
MdException
public MdException(String s, String SAS_Message, String SAS_MessageSeverity)
-
-
Method Details
-
getSASMessage
public String getSASMessage() -
getSASMessageSeverity
public String getSASMessageSeverity() -
getCause
public Throwable getCause()- Overrides:
getCausein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()- Overrides:
getLocalizedMessagein classThrowable
-
getMessage
public String getMessage()- Overrides:
getMessagein classThrowable
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-
parseXML
routine to parse a passed in xml string and return a dom document- Parameters:
strXML- is the string input to pass to the parser- Returns:
- a dom document that can be traversed for the various xml pieces
- Throws:
MdException
-