@Generated(value="org.jomc.tools.SourceFileProcessor 1.7", comments="See http://www.jomc.org/jomc/1.7/jomc-tools-1.7") public class IbanSyntaxException extends Exception
Constructor and Description |
---|
IbanSyntaxException(String malformedText,
int errorIndex)
Creates a new
IbanSyntaxException instance taking malformed text and a position at which parsing failed. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorIndex()
Gets the position at which parsing failed.
|
String |
getLocalizedMessage(Locale locale)
Gets a localized message describing the exception for a given locale.
|
String |
getMalformedText()
Gets the malformed text causing the exception.
|
String |
getMessage()
Gets a message describing the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IbanSyntaxException(String malformedText, int errorIndex)
IbanSyntaxException
instance taking malformed text and a position at which parsing failed.malformedText
- The malformed text.errorIndex
- The position at which parsing failed.public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage(Locale locale)
locale
- The locale of the localized message to get.NullPointerException
- if locale
is null
.public String getMalformedText()
public int getErrorIndex()
Copyright © 2013–2014 jDTAUS. All rights reserved.