Package org.apache.syncope.common.lib
Class SyncopeClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.syncope.common.lib.SyncopeClientException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SyncopeClientCompositeException
public class SyncopeClientException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSyncopeClientException(ClientExceptionType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncopeClientCompositeExceptionasComposite()static SyncopeClientExceptionbuild(ClientExceptionType type)static SyncopeClientCompositeExceptionbuildComposite()Set<String>getElements()StringgetLocalizedMessage()StringgetMessage()ClientExceptionTypegetType()booleanisComposite()booleanisEmpty()voidsetType(ClientExceptionType type)intsize()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SyncopeClientException
protected SyncopeClientException(ClientExceptionType type)
-
-
Method Detail
-
build
public static SyncopeClientException build(ClientExceptionType type)
-
buildComposite
public static SyncopeClientCompositeException buildComposite()
-
isComposite
public boolean isComposite()
-
asComposite
public SyncopeClientCompositeException asComposite()
-
getType
public ClientExceptionType getType()
-
setType
public final void setType(ClientExceptionType type)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
-