pl.gda.pg.eti.ask.przemyslawbielicki.aeh.info
Class DuplicateMethodStatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bypl.gda.pg.eti.ask.przemyslawbielicki.aeh.info.DuplicateMethodStatException
All Implemented Interfaces:
Serializable

public class DuplicateMethodStatException
extends Exception

DuplicateMethodStatException is raised when user wants to add statistics for method in class fragment that already exists in statistics structure. Class name MethodStat.methodName_, its parameter types MethodStat.parameters_ and return type MethodStat.returnType_ are locally unique - for class (like in Java language).

Version:
1.0
Author:
Przemyslaw Bielicki
Gdansk University of Technology
Faculty of Electronics, Telecommunication and Computer Science
Distributed Computer Systems
See Also:
MethodInfo.addClassStat(Method), Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DuplicateMethodStatException()
          Constructs a new exception with null as its detail message.
DuplicateMethodStatException(String message)
          Constructs a new exception with the specified detail message.
DuplicateMethodStatException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
DuplicateMethodStatException(Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ?
 
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

DuplicateMethodStatException

public DuplicateMethodStatException()
Constructs a new exception with null as its detail message. Creates new instance of DuplicateMethodStatException class.

See Also:
Exception.Exception()

DuplicateMethodStatException

public DuplicateMethodStatException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
See Also:
Exception.Exception(java.lang.String)

DuplicateMethodStatException

public DuplicateMethodStatException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
Exception.Exception(java.lang.Throwable)

DuplicateMethodStatException

public DuplicateMethodStatException(String message,
                                    Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
Exception.Exception(java.lang.String, java.lang.Throwable)