com.cedarsoft.exceptions
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.cedarsoft.exceptions.ApplicationException
All Implemented Interfaces:
Serializable

public class ApplicationException
extends RuntimeException

Author:
Johannes Schneider (js@cedarsoft.com)
See Also:
Serialized Form

Nested Class Summary
static interface ApplicationException.Message
           
 
Constructor Summary
ApplicationException(ApplicationException.Message message, Object... messageArguments)
           
 
Method Summary
 String getLocalizedMessage()
           
 String getLocalizedMessage(Locale locale)
           
 Object[] getMessageArguments()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationException

public ApplicationException(@Nonnull
                            ApplicationException.Message message,
                            @Nonnull
                            Object... messageArguments)
Method Detail

getMessageArguments

@Nonnull
public Object[] getMessageArguments()

getLocalizedMessage

@Nonnull
public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

getLocalizedMessage

@Nonnull
public String getLocalizedMessage(@Nonnull
                                          Locale locale)


Copyright © 2011 cedarsoft GmbH. All Rights Reserved.