org.codehaus.mojo.keytool
Class KeyToolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
KeyToolException(String message)
          Creates a new exception using the specified detail message.
KeyToolException(String message, Throwable cause)
          Creates a new exception using the specified detail message and cause.
 
Method Summary
 
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

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.