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 protected
SyncopeClientException(ClientExceptionType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncopeClientCompositeException
asComposite()
static SyncopeClientException
build(ClientExceptionType type)
static SyncopeClientCompositeException
buildComposite()
Set<String>
getElements()
String
getLocalizedMessage()
String
getMessage()
ClientExceptionType
getType()
boolean
isComposite()
boolean
isEmpty()
void
setType(ClientExceptionType type)
int
size()
-
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:
getMessage
in classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
-