Class StratosClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.wso2.carbon.stratos.common.exception.StratosException
-
- org.wso2.carbon.stratos.common.exception.StratosClientException
-
- All Implemented Interfaces:
Serializable
public class StratosClientException extends StratosException
This class is defined as the general client exception implementation for Stratos. This can be used within Stratos components when handling client exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StratosClientException()StratosClientException(String message)StratosClientException(String errorCode, String message)StratosClientException(String errorCode, String message, Throwable cause)StratosClientException(String message, Throwable cause)StratosClientException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()voidsetErrorCode(String errorCode)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StratosClientException
public StratosClientException()
-
StratosClientException
public StratosClientException(String message)
-
StratosClientException
public StratosClientException(String errorCode, String message, Throwable cause)
-
StratosClientException
public StratosClientException(Throwable cause)
-
-