SHOW Signed
 

net.rim.device.api.crypto
Class CryptoIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--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:
JDE 3.6.0

Constructor Summary
 Category: Signed CryptoIOException(CryptoException e)
          Creates a CryptoIOException object.
 Category: Signed CryptoIOException(String msg)
          Creates a CryptoIOException object with a description String.
 
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.
Since:
JDE 3.6.0
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.

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.
Since:
JDE 4.0.2
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.
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.
Since:
JDE 3.6.0
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.

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.
Since:
JDE 3.6.0
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.



Copyright 1999-2009 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.