org.apache.maven.shared.jarsigner
Class JarSignerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.shared.jarsigner.JarSignerException
All Implemented Interfaces:
Serializable

public class JarSignerException
extends Exception

Signals an error during the construction of the command line used to invoke jar signer, e.g. illegal invocation arguments. This should not be confused with a failure of the invoked JarSigner build itself which will be reported by means of a non-zero exit code.

Since:
1.0
Version:
$Id: JarSignerException.java 1190315 2011-10-28 13:43:28Z olamy $
Author:
tchemit
See Also:
JarSignerResult.getExitCode(), Serialized Form

Constructor Summary
JarSignerException(String message)
          Creates a new exception using the specified detail message.
JarSignerException(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

JarSignerException

public JarSignerException(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.

JarSignerException

public JarSignerException(String message)
Creates a new exception using the specified detail message.

Parameters:
message - The detail message for this exception, may be null.


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.