Package org.ow2.easywsdl.schema.api
Class SchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ow2.easywsdl.schema.api.XmlException
-
- org.ow2.easywsdl.schema.api.SchemaException
-
- All Implemented Interfaces:
Serializable
public class SchemaException extends XmlException
- Author:
- Nicolas Salatge - EBM WebSourcing
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIGURATION_ERRORstatic StringINVALID_SCHEMAstatic StringNO_PREFIX_SPECIFIEDstatic StringOTHER_ERRORstatic StringPARSER_ERRORstatic longserialVersionUIDstatic StringUNBOUND_PREFIX-
Fields inherited from class org.ow2.easywsdl.schema.api.XmlException
INVALID_Schema
-
-
Constructor Summary
Constructors Constructor Description SchemaException(String msg)SchemaException(String faultCode, String msg)SchemaException(String faultCode, String msg, Throwable t)SchemaException(String msg, Throwable t)SchemaException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFaultCode()StringgetLocation()Get the location, if one was set.ThrowablegetTargetException()voidsetFaultCode(String faultCode)voidsetLocation(String location)Set the location using an XPath expression.voidsetTargetException(Throwable targetThrowable)-
Methods inherited from class org.ow2.easywsdl.schema.api.XmlException
getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
INVALID_SCHEMA
public static final String INVALID_SCHEMA
- See Also:
- Constant Field Values
-
PARSER_ERROR
public static final String PARSER_ERROR
- See Also:
- Constant Field Values
-
OTHER_ERROR
public static final String OTHER_ERROR
- See Also:
- Constant Field Values
-
CONFIGURATION_ERROR
public static final String CONFIGURATION_ERROR
- See Also:
- Constant Field Values
-
UNBOUND_PREFIX
public static final String UNBOUND_PREFIX
- See Also:
- Constant Field Values
-
NO_PREFIX_SPECIFIED
public static final String NO_PREFIX_SPECIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setFaultCode
public void setFaultCode(String faultCode)
- Overrides:
setFaultCodein classXmlException
-
getFaultCode
public String getFaultCode()
- Overrides:
getFaultCodein classXmlException
-
setTargetException
public void setTargetException(Throwable targetThrowable)
- Overrides:
setTargetExceptionin classXmlException
-
getTargetException
public Throwable getTargetException()
- Overrides:
getTargetExceptionin classXmlException
-
setLocation
public void setLocation(String location)
Set the location using an XPath expression. Used for error messages.- Overrides:
setLocationin classXmlException- Parameters:
location- an XPath expression describing the location where the exception occurred.
-
getLocation
public String getLocation()
Get the location, if one was set. Should be an XPath expression which is used for error messages.- Overrides:
getLocationin classXmlException
-
-