com.cedarsoft.exceptions
Interface ApplicationException.Details

Enclosing class:
ApplicationException

public static interface ApplicationException.Details


Method Summary
 ErrorCode getErrorCode()
          Returns the error code
 java.lang.String getLocalizedMessage(java.util.Locale locale, java.lang.Object... messageArguments)
          Returns the localized message (without the error code)
 java.lang.String getLocalizedMessage(java.lang.Object... messageArguments)
          Returns the localized message (without the error code)
 java.lang.String getTitle(java.util.Locale locale, java.lang.Object... messageArguments)
          Returns the title
 java.lang.String getTitle(java.lang.Object... messageArguments)
          Returns the title
 

Method Detail

getLocalizedMessage

@Nonnull
java.lang.String getLocalizedMessage(@Nullable
                                             java.lang.Object... messageArguments)
Returns the localized message (without the error code)

Parameters:
messageArguments - the message arguments
Returns:
the localized message

getLocalizedMessage

@Nonnull
java.lang.String getLocalizedMessage(@Nonnull
                                             java.util.Locale locale,
                                             @Nullable
                                             java.lang.Object... messageArguments)
Returns the localized message (without the error code)

Parameters:
locale - the locale
messageArguments - the message arguments
Returns:
the localized message

getTitle

@Nonnull
java.lang.String getTitle(@Nullable
                                  java.lang.Object... messageArguments)
Returns the title

Parameters:
messageArguments - the message arguments
Returns:
the title

getTitle

@Nonnull
java.lang.String getTitle(@Nonnull
                                  java.util.Locale locale,
                                  @Nullable
                                  java.lang.Object... messageArguments)
Returns the title

Parameters:
locale - the locale
messageArguments - the message arguments
Returns:
the title

getErrorCode

@Nonnull
ErrorCode getErrorCode()
Returns the error code

Returns:
the error code


Copyright © 2011 cedarsoft GmbH. All Rights Reserved.