mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
18.05.2014 33420af31c50114e9a395e8444d7d60022e9f7ab
opendj3-server-dev/src/server/org/opends/server/admin/PropertyException.java
@@ -39,7 +39,7 @@
 * Exceptions thrown as a result of errors that occurred when decoding and
 * modifying property values.
 */
public final class PropertyException extends AdminRuntimeException
public final class PropertyException extends RuntimeException
{
  /**
@@ -183,6 +183,9 @@
  // Message that explains the problem.
  private final Message message;
  /*
   * The property definition associated with the property that caused the
   * exception.
@@ -193,7 +196,8 @@
  private PropertyException(PropertyDefinition<?> pd, Message message)
  {
    super(message);
    super(message.toString());
    this.message = message;
    this.pd = pd;
  }
@@ -202,13 +206,27 @@
  private PropertyException(PropertyDefinition<?> pd, Message message,
      Throwable cause)
  {
    super(message, cause);
    super(message.toString(), cause);
    this.message = message;
    this.pd = pd;
  }
  /**
   * Returns the message that explains the problem that occurred.
   *
   * @return Returns the message describing the problem that occurred (never
   *         <code>null</code>).
   */
  public Message getMessageObject()
  {
    return message;
  }
  /**
   * Get the property definition associated with the property that caused the
   * exception.
   *