public class TvBrowserException extends Exception
Constructor and Description |
---|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object[] msgArgs)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object[] msgArgs,
Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1,
Object msgArg2)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1,
Object msgArg2,
Object msgArg3)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1,
Object msgArg2,
Object msgArg3,
Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1,
Object msgArg2,
Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Object msgArg1,
Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(Class msgClass,
String msgKey,
String defaultMsg,
Throwable cause)
Creates a new instance of TvBrowserException.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage()
Gets the localized message of this exception.
|
String |
getMessage()
Gets the error message.
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TvBrowserException(Class msgClass, String msgKey, String defaultMsg)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1, Object msgArg2)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.msgArg2
- The argument that should replace {1}
.public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1, Object msgArg2, Object msgArg3)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.msgArg2
- The argument that should replace {1}
.msgArg3
- The argument that should replace {2}
.public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object[] msgArgs)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArgs
- The arguments that should replace the appropriate place holder.
See MessageFormat
for details.public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Throwable cause)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).cause
- The exception that causes this exception. (nested exception).public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1, Throwable cause)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.cause
- The exception that causes this exception. (nested exception).public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1, Object msgArg2, Throwable cause)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.msgArg2
- The argument that should replace {1}
.cause
- The exception that causes this exception. (nested exception).public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object msgArg1, Object msgArg2, Object msgArg3, Throwable cause)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArg1
- The argument that should replace {0}
.msgArg2
- The argument that should replace {1}
.msgArg3
- The argument that should replace {2}
.cause
- The exception that causes this exception. (nested exception).public TvBrowserException(Class msgClass, String msgKey, String defaultMsg, Object[] msgArgs, Throwable cause)
msgClass
- The class whichs localizer should be used to get the
localized error message.msgKey
- The key of the error message.defaultMsg
- The deafault error message (english).msgArgs
- The arguments that should replace the appropriate place holder.
See MessageFormat
for details.cause
- The exception that causes this exception. (nested exception).public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)