Package com.simplicite.util.exceptions
Class PlatformException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.simplicite.util.exceptions.PlatformException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ActionException
,AdapterException
,AuthenticationException
,BusinessException
,BusinessObjectException
,CacheException
,ChartException
,ConfigurationException
,CrosstabException
,DBException
,DeleteException
,ExternalObjectException
,FileSizeException
,GenericException
,GetException
,GitException
,GrantException
,GraphException
,HTTPException
,ImportException
,InactiveUserException
,IOException
,LicenseException
,MaxSessionsReachedException
,MaxUsersReachedException
,MetaDataException
,MethodException
,NotFoundException
,ParamsException
,PrintException
,ProcessException
,SaveException
,ScriptException
,SearchException
,ValidateException
,ValidateSearchException
,XMLException
public class PlatformException extends java.lang.Exception
Platform exception- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNEXPECTED_ERROR
Unexpected error message
-
Constructor Summary
Constructors Constructor Description PlatformException()
Default constructorPlatformException(Message message)
ConstructorPlatformException(java.lang.String message)
ConstructorPlatformException(java.lang.String[] messages)
ConstructorPlatformException(java.lang.Throwable e)
ConstructorPlatformException(java.util.List<java.lang.String> messages)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
getFullMessage()
Get full messagejava.lang.String
getMessage()
Get messagejava.lang.String
getMessage(Grant g)
Get translated message for specified grantjava.lang.String[]
getMessages()
Get all messagesjava.lang.String[]
getMessages(Grant g)
Get translated messages for specified grant
-
-
-
Field Detail
-
UNEXPECTED_ERROR
public static final java.lang.String UNEXPECTED_ERROR
Unexpected error message- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlatformException
public PlatformException()
Default constructor
-
PlatformException
public PlatformException(java.lang.Throwable e)
Constructor- Parameters:
e
- Throwable
-
PlatformException
public PlatformException(java.lang.String message)
Constructor- Parameters:
message
- String message
-
PlatformException
public PlatformException(Message message)
Constructor- Parameters:
message
- Message object
-
PlatformException
public PlatformException(java.lang.String[] messages)
Constructor- Parameters:
messages
- String messages array
-
PlatformException
public PlatformException(java.util.List<java.lang.String> messages)
Constructor- Parameters:
messages
- String messages list
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Get message- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- Message
-
getMessages
public java.lang.String[] getMessages()
Get all messages- Returns:
- Messages
-
getFullMessage
public Message getFullMessage()
Get full message- Returns:
- Full message
-
getMessages
public java.lang.String[] getMessages(Grant g)
Get translated messages for specified grant- Parameters:
g
- Grant- Returns:
- Translated messages
-
getMessage
public java.lang.String getMessage(Grant g)
Get translated message for specified grant- Parameters:
g
- Grant- Returns:
- Translated message
-
-