public class

LocalizedException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.bouncycastle.i18n.LocalizedException
Known Direct Subclasses

Class Overview

Base class for all Exceptions with localized messages.

Summary

Fields
protected ErrorBundle message
Public Constructors
LocalizedException(ErrorBundle message)
Constructs a new LocalizedException with the specified localized message.
LocalizedException(ErrorBundle message, Throwable throwable)
Constructs a new LocalizedException with the specified localized message and cause.
Public Methods
Throwable getCause()
ErrorBundle getErrorMessage()
Returns the localized error message of the exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

protected ErrorBundle message

Public Constructors

public LocalizedException (ErrorBundle message)

Constructs a new LocalizedException with the specified localized message.

Parameters
message the ErrorBundle that contains the message for the exception

public LocalizedException (ErrorBundle message, Throwable throwable)

Constructs a new LocalizedException with the specified localized message and cause.

Parameters
message the ErrorBundle that contains the message for the exception
throwable the cause

Public Methods

public Throwable getCause ()

public ErrorBundle getErrorMessage ()

Returns the localized error message of the exception.

Returns