com.microsoft.tfs.core.util
Class CodePageMapping.UnknownEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
com.microsoft.tfs.core.util.CodePageMapping.UnknownEncodingException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- CodePageMapping
public static class CodePageMapping.UnknownEncodingException
- extends TECoreException
An exception thrown to indicate that either a Charset or the name
of an encoding specified as an argument to a CodePageMapping
method was unknown to that class. This indicates that there was no
configuration data available for the specified encoding, after looking at
both hard-coded data and configuration data specified at runtime.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CodePageMapping.UnknownEncodingException
public CodePageMapping.UnknownEncodingException(java.nio.charset.Charset charset)
- Creates a new
CodePageMapping.UnknownEncodingException for the specified
Charset.
- Parameters:
charset - a Charset that was unknown to a
CodePageMapping method (must not be null)
CodePageMapping.UnknownEncodingException
public CodePageMapping.UnknownEncodingException(java.lang.String encoding)
- Creates a new
CodePageMapping.UnknownEncodingException for the specified
encoding.
- Parameters:
encoding - an encoding that was unknown to a CodePageMapping
method (must not be null)
getEncoding
public java.lang.String getEncoding()
- Returns:
- the encoding that was unknown
getCharset
public java.nio.charset.Charset getCharset()
- Returns:
- the
Charset that was unknown, or null
© 2014 Microsoft. All rights reserved.