org.codehaus.mojo.keytool
Class KeyToolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.mojo.keytool.KeyToolException
- All Implemented Interfaces:
- Serializable
public class KeyToolException
- extends Exception
Signals an error during the construction of the command line used to invoke keytool, e.g. illegal invocation
arguments.
This should not be confused with a failure of the invoked KeyTool build itself which will be reported by means of a
non-zero exit code.
- Since:
- 1.1
- Version:
- $Id: KeyToolException.java 15796 2012-01-29 16:07:29Z tchemit $
- Author:
- tchemit
- See Also:
KeyToolResult.getExitCode()
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
KeyToolException
public KeyToolException(String message,
Throwable cause)
- Creates a new exception using the specified detail message and cause.
- Parameters:
message
- The detail message for this exception, may be null
.cause
- The nested exception, may be null
.
KeyToolException
public KeyToolException(String message)
- Creates a new exception using the specified detail message.
- Parameters:
message
- The detail message for this exception, may be null
.
Copyright © 2005-2012 Codehaus. All Rights Reserved.