Class ResourceStatus
- java.lang.Object
-
- org.glassfish.resourcebase.resources.api.ResourceStatus
-
public class ResourceStatus extends Object
- Author:
- PRASHANTH ABBAGANI Holds the status code/msg (including the exception) of the appropriate resource create/delete functionality
-
-
Constructor Summary
Constructors Constructor Description ResourceStatus(int status, String message)
ResourceStatus(int status, String message, boolean alreadyExists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getException()
String
getMessage()
int
getStatus()
boolean
isAlreadyExists()
void
setException(Throwable t)
-
-
-
Field Detail
-
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
-
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
-