public class TvBrowserException
extends java.lang.Exception
Constructor and Description |
---|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object[] msgArgs)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object[] msgArgs,
java.lang.Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1,
java.lang.Object msgArg2)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1,
java.lang.Object msgArg2,
java.lang.Object msgArg3)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1,
java.lang.Object msgArg2,
java.lang.Object msgArg3,
java.lang.Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1,
java.lang.Object msgArg2,
java.lang.Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Object msgArg1,
java.lang.Throwable cause)
Creates a new instance of TvBrowserException.
|
TvBrowserException(java.lang.Class msgClass,
java.lang.String msgKey,
java.lang.String defaultMsg,
java.lang.Throwable cause)
Creates a new instance of TvBrowserException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage()
Gets the localized message of this exception.
|
java.lang.String |
getMessage()
Gets the error message.
|
public TvBrowserException(java.lang.Class msgClass, java.lang.String msgKey, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object msgArg1, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object msgArg1, java.lang.Object msgArg2, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object msgArg1, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object msgArg1, java.lang.Object msgArg2, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object msgArg1, java.lang.Object msgArg2, java.lang.Object msgArg3, java.lang.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(java.lang.Class msgClass, java.lang.String msgKey, java.lang.String defaultMsg, java.lang.Object[] msgArgs, java.lang.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 java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)