|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--com.compoze.collab.util.NestedRuntimeException | +--com.compoze.collab.CollaborationRuntimeException
Serves as the superclass of all exceptions thrown from the collaboration services API.
Constructor Summary | |
CollaborationRuntimeException(CollaborationException e)
Constructs a CollaborationRuntimeException from a CollaborationException. |
|
CollaborationRuntimeException(com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key)
Constructs a CollaborationRuntimeException and its CollaborationExceptionInfo. |
|
CollaborationRuntimeException(com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
java.lang.Object param)
Constructs a CollaborationRuntimeException and its CollaborationExceptionInfo. |
|
CollaborationRuntimeException(java.lang.Throwable t,
com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key)
Constructs a CollaborationRuntimeException and its CollaborationExceptionInfo. |
|
CollaborationRuntimeException(java.lang.Throwable t,
com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
java.lang.Object param)
Constructs a CollaborationRuntimeException and its CollaborationExceptionInfo. |
Method Summary | |
java.lang.String |
getAdminMessage()
Gets a message that is suitable for display to an administrator. |
java.lang.String |
getAdminResolution()
Gets a message that provides a suggested admin resolution for the exception. |
java.lang.String |
getProgrammerMessage()
Gets a message that is suitable for display to a programmer. |
java.lang.String |
getProgrammerResolution()
Gets a message that provides a suggested programmer resolution for the exception. |
java.lang.String |
getUserMessage()
Gets a message that is suitable for display to an end user. |
java.lang.String |
getUserResolution()
Gets a message that provides a suggested user resolution for the exception. |
static void |
main(java.lang.String[] args)
Main. |
Methods inherited from class com.compoze.collab.util.NestedRuntimeException |
getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CollaborationRuntimeException(CollaborationException e)
e
- the CollaborationException to turn into a
CollaborationRuntimeExceptionpublic CollaborationRuntimeException(com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey key)
ctx
- Context for this exception (not null
)key
- the exception key in the resource file (not null
)public CollaborationRuntimeException(com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey key, java.lang.Object param)
ctx
- Context for this exception (not null
)key
- the exception key in the resource file (not null
)param
- the parameter to the exception message (not null
)
This can either be an Object
or an Object[]
if multiple parameters need to be specified.public CollaborationRuntimeException(java.lang.Throwable t, com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey key)
t
- the underlying exceptionctx
- Context for this exception (not null
)key
- the exception key in the resource file (not null
)public CollaborationRuntimeException(java.lang.Throwable t, com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey key, java.lang.Object param)
t
- the underlying exceptionctx
- Context for this exception (not null
)key
- the exception key in the resource file (not null
)param
- the parameter to the exception message (not null
).
This can either be an Object
or an Object[]
if multiple parameters need to be specified.Method Detail |
public java.lang.String getUserMessage()
public java.lang.String getAdminMessage()
public java.lang.String getProgrammerMessage()
public java.lang.String getProgrammerResolution()
public java.lang.String getUserResolution()
public java.lang.String getAdminResolution()
public static void main(java.lang.String[] args)
args
- command line arguments
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |