org.opengis.webservice
Class WebServiceException
Object
Throwable
Exception
WebServiceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidCapabilitiesException, UnknownOperatorNameException
public class WebServiceException
- extends Exception
- See Also:
- Serialized Form
| Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WebServiceException
public WebServiceException(String message)
- Parameters:
message -
WebServiceException
public WebServiceException(String locator,
String message)
- Parameters:
locator - message - - TODO:
- The argument order (locator before message) may surprises users who don't read
carefully the javadoc. We could expect optional argument to appears next to
mandatory ones.
WebServiceException
public WebServiceException(String locator,
String message,
ExceptionCode code)
- Parameters:
locator - message - code - - TODO:
- The argument order (locator before message) may surprises users who don't read
carefully the javadoc. We could expect optional argument to appears next to
mandatory ones.
getLocator
@UML(identifier="locator",
specification=UNSPECIFIED)
public String getLocator()
- Returns the class/service that has caused the exception
setLocator
@UML(identifier="locator",
specification=UNSPECIFIED)
public void setLocator(String locator)
- Sets the class/service that has caused the exception
getCode
public ExceptionCode getCode()
- Returns the code for this exception.
Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.