org.ogf.graap.wsag.api.exceptions
Class NegotiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ogf.graap.wsag.api.exceptions.NegotiationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ValidationException
public class NegotiationException
- extends Exception
NegotiationException
- Author:
- Oliver Waeldrich
- See Also:
- Serialized Form
Field Summary |
static int |
ERROR_CODE
Basefault error code. |
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 |
ERROR_CODE
public static final int ERROR_CODE
- Basefault error code.
- See Also:
- Constant Field Values
LOCAL_EN
public static final String LOCAL_EN
- Default language identifier in base fault.
- See Also:
- Constant Field Values
NegotiationException
public NegotiationException()
- default constructor
NegotiationException
public NegotiationException(String message,
Throwable cause)
- Parameters:
message
- the exception messagecause
- the exception cause
NegotiationException
public NegotiationException(String message)
- Parameters:
message
- the exception message
NegotiationException
public NegotiationException(Throwable cause)
- Parameters:
cause
- the exception cause
getBaseFault
public BaseFaultType getBaseFault()
- Returns:
- the base fault document representing this exception.
getErrorCode
protected String getErrorCode()
- Specific exceptions must override this method.
- Returns:
- the base fault error code for this exception
Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.