1 16 package org.springframework.webflow.execution.repository; 17 18 25 public class BadlyFormattedFlowExecutionKeyException extends FlowExecutionRepositoryException { 26 27 30 private String invalidKey; 31 32 36 private String format; 37 38 43 public BadlyFormattedFlowExecutionKeyException(String invalidKey, String format) { 44 super("Badly formatted flow execution key '" + invalidKey + "', the expected format is '" + format + "'"); 45 this.invalidKey = invalidKey; 46 this.format = format; 47 } 48 49 55 public BadlyFormattedFlowExecutionKeyException(String invalidKey, String format, Throwable cause) { 56 super("Badly formatted flow execution key '" + invalidKey + "', the expected format is '" + format + "'", cause); 57 this.invalidKey = invalidKey; 58 this.format = format; 59 } 60 61 64 public String getInvalidKey() { 65 return invalidKey; 66 } 67 68 71 public String getFormat() { 72 return format; 73 } 74 } | Popular Tags |