org.ow2.easywsdl.schema.api
Class SchemaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.easywsdl.schema.api.XmlException
              extended by org.ow2.easywsdl.schema.api.SchemaException
All Implemented Interfaces:
java.io.Serializable

public class SchemaException
extends XmlException

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
static java.lang.String CONFIGURATION_ERROR
           
static java.lang.String INVALID_Schema
           
static java.lang.String NO_PREFIX_SPECIFIED
           
static java.lang.String OTHER_ERROR
           
static java.lang.String PARSER_ERROR
           
static long serialVersionUID
           
static java.lang.String UNBOUND_PREFIX
           
 
Constructor Summary
SchemaException(java.lang.String msg)
           
SchemaException(java.lang.String faultCode, java.lang.String msg)
           
SchemaException(java.lang.String faultCode, java.lang.String msg, java.lang.Throwable t)
           
SchemaException(java.lang.String msg, java.lang.Throwable t)
           
SchemaException(java.lang.Throwable t)
           
 
Method Summary
 java.lang.String getFaultCode()
           
 java.lang.String getLocation()
          Get the location, if one was set.
 java.lang.Throwable getTargetException()
           
 void setFaultCode(java.lang.String faultCode)
           
 void setLocation(java.lang.String location)
          Set the location using an XPath expression.
 void setTargetException(java.lang.Throwable targetThrowable)
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.XmlException
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

INVALID_Schema

public static final java.lang.String INVALID_Schema
See Also:
Constant Field Values

PARSER_ERROR

public static final java.lang.String PARSER_ERROR
See Also:
Constant Field Values

OTHER_ERROR

public static final java.lang.String OTHER_ERROR
See Also:
Constant Field Values

CONFIGURATION_ERROR

public static final java.lang.String CONFIGURATION_ERROR
See Also:
Constant Field Values

UNBOUND_PREFIX

public static final java.lang.String UNBOUND_PREFIX
See Also:
Constant Field Values

NO_PREFIX_SPECIFIED

public static final java.lang.String NO_PREFIX_SPECIFIED
See Also:
Constant Field Values
Constructor Detail

SchemaException

public SchemaException(java.lang.String faultCode,
                       java.lang.String msg,
                       java.lang.Throwable t)

SchemaException

public SchemaException(java.lang.String msg,
                       java.lang.Throwable t)

SchemaException

public SchemaException(java.lang.Throwable t)

SchemaException

public SchemaException(java.lang.String msg)

SchemaException

public SchemaException(java.lang.String faultCode,
                       java.lang.String msg)
Method Detail

setFaultCode

public void setFaultCode(java.lang.String faultCode)
Overrides:
setFaultCode in class XmlException

getFaultCode

public java.lang.String getFaultCode()
Overrides:
getFaultCode in class XmlException

setTargetException

public void setTargetException(java.lang.Throwable targetThrowable)
Overrides:
setTargetException in class XmlException

getTargetException

public java.lang.Throwable getTargetException()
Overrides:
getTargetException in class XmlException

setLocation

public void setLocation(java.lang.String location)
Set the location using an XPath expression. Used for error messages.

Overrides:
setLocation in class XmlException
Parameters:
location - an XPath expression describing the location where the exception occurred.

getLocation

public java.lang.String getLocation()
Get the location, if one was set. Should be an XPath expression which is used for error messages.

Overrides:
getLocation in class XmlException


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.