com.microsoft.tfs.core.util
Class CodePageMapping.UnknownCodePageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.microsoft.tfs.core.exceptions.TECoreException
                  extended by com.microsoft.tfs.core.util.CodePageMapping.UnknownCodePageException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CodePageMapping

public static class CodePageMapping.UnknownCodePageException
extends TECoreException

An exception thrown to indicate that a code page 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 code page, after looking at both hard-coded data and configuration data specified at runtime. This exception is also used if configuration data was available for the code page, but the charset that the code page mapped to was not supported by this Java virtual machine.

See Also:
Serialized Form

Constructor Summary
CodePageMapping.UnknownCodePageException(int codePage)
          Creates a new CodePageMapping.UnknownCodePageException for the specified code page.
 
Method Summary
 int getCodePage()
           
 
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
 

Constructor Detail

CodePageMapping.UnknownCodePageException

public CodePageMapping.UnknownCodePageException(int codePage)
Creates a new CodePageMapping.UnknownCodePageException for the specified code page.

Parameters:
codePage - the code page that triggered this exception
Method Detail

getCodePage

public int getCodePage()
Returns:
the code page that was unknown


© 2015 Microsoft. All rights reserved.