/*
* $Id: BuilderPageException.java,v 1.2 2006/04/09 12:13:20 laddi Exp $
* Created on 16.3.2006 in project com.idega.core
*
* Copyright (C) 2006 Idega Software hf. All Rights Reserved.
*
* This software is the proprietary information of Idega hf.
* Use is subject to license terms.
*/
package com.idega.core.builder.business;
/**
* <p>
* Exception thrown on internal errors with Builder Pages.
* </p>
* Last modified: $Date: 2006/04/09 12:13:20 $ by $Author: laddi $
*
* @author <a href="mailto:tryggvil@idega.com">tryggvil</a>
* @version $Revision: 1.2 $
*/
public class BuilderPageException extends RuntimeException {
private static final long serialVersionUID = 8203950762076556192L;
public static final String CODE_NOT_FOUND="NOT_FOUND";
private String code;
private String pageUri;
/**
*
*/
public BuilderPageException() {
super();
}
/**
* @param arg0
*/
public BuilderPageException(String arg0) {
super(arg0);
}
/**
* @param arg0
* @param arg1
*/
public BuilderPageException(String arg0, Throwable arg1) {
super(arg0, arg1);
}
/**
* @param arg0
*/
public BuilderPageException(Throwable arg0) {
super(arg0);
}
/**
* @return Returns the code.
*/
public String getCode() {
return this.code;
}
/**
* @param code The code to set.
*/
public void setCode(String code) {
this.code = code;
}
/**
* @return Returns the pageUri.
*/
public String getPageUri() {
return this.pageUri;
}
/**
* @param pageUri The pageUri to set.
*/
public void setPageUri(String pageUri) {
this.pageUri = pageUri;
}
}