org.ogf.graap.wsag.api.exceptions
Class AgreementFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ogf.graap.wsag.api.exceptions.WSAgreementException
org.ogf.graap.wsag.api.exceptions.AgreementFactoryException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AgreementCreationException, CreationConstraintsViolationException
public class AgreementFactoryException
- extends WSAgreementException
AgreementFactoryException
- Author:
- Oliver Waeldrich
- See Also:
- Serialized Form
Field Summary |
static String |
LOCAL_EN
Default language identifier in base fault. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LOCAL_EN
public static final String LOCAL_EN
- Default language identifier in base fault.
- See Also:
- Constant Field Values
AgreementFactoryException
public AgreementFactoryException()
- default constructor
AgreementFactoryException
public AgreementFactoryException(String message)
- Parameters:
message
- error message
AgreementFactoryException
public AgreementFactoryException(String message,
ContinuingFaultType fault)
- Constructs an exception with the given message using a
ContinuingFaultType
as a cause.
- Parameters:
message
- the fault messagefault
- the root cause of the exception
AgreementFactoryException
public AgreementFactoryException(String message,
Throwable cause)
- Parameters:
message
- the error messagecause
- the exception cause
AgreementFactoryException
public AgreementFactoryException(Throwable cause)
- Parameters:
cause
- the exception cause
getBaseFault
public BaseFaultType getBaseFault()
- Returns:
- the base fault document representing this exception.
getErrorCode
public int getErrorCode()
- Description copied from class:
WSAgreementException
- Returns a unique error code for the specific Exception;
- Specified by:
getErrorCode
in class WSAgreementException
- Returns:
- the exception specific error code
Copyright © 2008-2012. All Rights Reserved.