|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.compoze.collab.util.NestedException
com.compoze.collab.CollaborationException
public class CollaborationException
Serves as the superclass of all exceptions thrown from the collaboration services API.
| Constructor Summary | |
|---|---|
CollaborationException(com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key)
Constructs a CollaborationException and its CollaborationExceptionInfo. |
|
CollaborationException(com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
Object param)
Constructs a CollaborationException and its CollaborationExceptionInfo. |
|
CollaborationException(Throwable t,
com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key)
Constructs a CollaborationException and its CollaborationExceptionInfo. |
|
CollaborationException(Throwable t,
com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
Object param)
Constructs a CollaborationException and its CollaborationExceptionInfo. |
|
| Method Summary | |
|---|---|
String |
getAdminMessage()
Gets a message that is suitable for display to an administrator. |
String |
getAdminResolution()
Gets a message that provides a suggested admin resolution for the exception. |
String |
getBaseKey()
Gets the base key for this exception. |
com.compoze.collab.resource.ResourceKey |
getKey()
Gets the key for this exception. |
String |
getProgrammerMessage()
Gets a message that is suitable for display to a programmer. |
String |
getProgrammerResolution()
Gets a message that provides a suggested programmer resolution for the exception. |
String |
getUserMessage()
Gets a message that is suitable for display to an end user. |
String |
getUserResolution()
Gets a message that provides a suggested user resolution for the exception. |
static void |
main(String[] args)
Main. |
| Methods inherited from class com.compoze.collab.util.NestedException |
|---|
getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollaborationException(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 CollaborationException(com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
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 CollaborationException(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 CollaborationException(Throwable t,
com.compoze.collab.spi.Context ctx,
com.compoze.collab.spi.ExceptionResourceKey key,
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 String getUserMessage()
public String getAdminMessage()
public String getProgrammerMessage()
public String getProgrammerResolution()
public String getUserResolution()
public String getAdminResolution()
public static void main(String[] args)
args - command line argumentspublic String getBaseKey()
null)public com.compoze.collab.resource.ResourceKey getKey()
null)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||