org.n52.security.common.artifact
Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.n52.security.common.artifact.ClientException
- All Implemented Interfaces:
- Serializable
public class ClientException
- extends RuntimeException
This exception is thrown when a client-side error occurres.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CONNECTION_FAILED
public static final String CONNECTION_FAILED
- See Also:
- Constant Field Values
UNEXPECTED_MIME_TYPE
public static final String UNEXPECTED_MIME_TYPE
- See Also:
- Constant Field Values
ClientException
public ClientException()
ClientException
public ClientException(String message)
ClientException
public ClientException(String message,
String code)
ClientException
public ClientException(String message,
Exception cause)
ClientException
public ClientException(String message,
Exception cause,
String code)
write
public void write(OutputStream out)
throws IOException
- writes a client exception XML document according to the specified
OutputStream.
- Throws:
IOException
getAsXML
public String getAsXML()
getAsTransferable
public Transferable getAsTransferable()
getCode
public String getCode()
Copyright © 2004–2013 52north.org. All rights reserved.