org.eclipse.stardust.common.error
Class PublicException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.stardust.common.error.ApplicationException
                  extended by org.eclipse.stardust.common.error.PublicException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessForbiddenException, ConcurrencyException, ExpectedFailureException, InvalidArgumentException, InvalidPasswordException, InvalidValueException, LoginFailedException, ObjectNotFoundException, ServiceCommandException, ValidationException

public class PublicException
extends ApplicationException

Base exception class for all exceptions that should be viewable by the client

Version:
$Revision$
Author:
mgille
See Also:
Serialized Form

Constructor Summary
PublicException(ErrorCase errorCase)
          Constructs the Exception
PublicException(ErrorCase errorCase, String message, Throwable e)
          Constructs the Exception
PublicException(ErrorCase errorCase, Throwable e)
          Constructs the Exception
PublicException(String message)
          Constructs the Exception
PublicException(String message, Throwable e)
          Constructs the Exception
PublicException(Throwable e)
          Constructs the Exception
 
Method Summary
 
Methods inherited from class org.eclipse.stardust.common.error.ApplicationException
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublicException

public PublicException(ErrorCase errorCase)
Constructs the Exception

Parameters:
errorCase - - the ErrorCase for this message

PublicException

public PublicException(String message)
Constructs the Exception

Parameters:
message - - the error message for this exception

PublicException

public PublicException(Throwable e)
Constructs the Exception

Parameters:
e - - the root cause for this exception

PublicException

public PublicException(String message,
                       Throwable e)
Constructs the Exception

Parameters:
message - - the error message for this exception
e - - the root cause for this exception

PublicException

public PublicException(ErrorCase errorCase,
                       Throwable e)
Constructs the Exception

Parameters:
errorCase - - the ErrorCase for this message
e - - the root cause for this exception

PublicException

public PublicException(ErrorCase errorCase,
                       String message,
                       Throwable e)
Constructs the Exception

Parameters:
errorCase - - the ErrorCase for this message
message - - the error message for this exception
e - - the root cause for this exception


Copyright © 2017 Eclipse Stardust. All Rights Reserved.