net.rim.device.api.crypto
Class CryptoIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.rim.device.api.crypto.CryptoIOException

public class CryptoIOException
extends IOException

An exception representing an error that occured during a cryptographic operation.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

Constructor Summary
Category: Signed CryptoIOException(String msg)
          Creates a CryptoIOException object with a description String.
Category: Signed CryptoIOException(CryptoException e)
          Creates a CryptoIOException object.
 
Method Summary
Category: Signed  CryptoException getCryptoException()
          Returns the wrapped CryptoException object so that the programmer can determine what caused the exception.
Category: Signed  String toString()
          Returns the String information stored about the exception, including the concatenation of the super classes string output and the string output from the CryptoException.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Constructor Detail

CryptoIOException

public CryptoIOException(CryptoException e)
Creates a CryptoIOException object.

Parameters:
e - A CryptoException that is stored and wrapped by the CryptoIOException for use later in determing the cause of the exception.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CryptoIOException

public CryptoIOException(String msg)
Creates a CryptoIOException object with a description String.

Parameters:
msg - A String containing a meaningful message regarding what might have caused the exception to be thrown.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.2


Method Detail

getCryptoException

public CryptoException getCryptoException()
Returns the wrapped CryptoException object so that the programmer can determine what caused the exception.

Returns:
The CryptoException object.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

toString

public String toString()
Returns the String information stored about the exception, including the concatenation of the super classes string output and the string output from the CryptoException.

Overrides:
toString in class Throwable
Returns:
A String that represents a description of the exception.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.