vraptor-error-control

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Группа

Группа

br.com.caelum.vraptor
Идентификатор

Идентификатор

vraptor-error-control
Последняя версия

Последняя версия

4.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

vraptor-error-control
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Ссылка на сайт

Ссылка на сайт

http://github.com/caelum/vraptor-error-control
Система контроля версий

Система контроля версий

http://github.com/caelum/vraptor-error-control

Скачать vraptor-error-control

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/br.com.caelum.vraptor/vraptor-error-control/ -->
<dependency>
    <groupId>br.com.caelum.vraptor</groupId>
    <artifactId>vraptor-error-control</artifactId>
    <version>4.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/br.com.caelum.vraptor/vraptor-error-control/
implementation 'br.com.caelum.vraptor:vraptor-error-control:4.0.3'
// https://jarcasting.com/artifacts/br.com.caelum.vraptor/vraptor-error-control/
implementation ("br.com.caelum.vraptor:vraptor-error-control:4.0.3")
'br.com.caelum.vraptor:vraptor-error-control:jar:4.0.3'
<dependency org="br.com.caelum.vraptor" name="vraptor-error-control" rev="4.0.3">
  <artifact name="vraptor-error-control" type="jar" />
</dependency>
@Grapes(
@Grab(group='br.com.caelum.vraptor', module='vraptor-error-control', version='4.0.3')
)
libraryDependencies += "br.com.caelum.vraptor" % "vraptor-error-control" % "4.0.3"
[br.com.caelum.vraptor/vraptor-error-control "4.0.3"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
commons-httpclient : commons-httpclient jar 3.1
br.com.caelum : vraptor jar 4.2.0-RC5
javax.enterprise : cdi-api jar 1.1
br.com.caelum.vraptor : vraptor-simplemail jar 4.1.0-RC4
joda-time : joda-time jar 2.0

provided (1)

Идентификатор библиотеки Тип Версия
org.mortbay.jetty : servlet-api jar 3.0.20100224

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.2
org.mockito : mockito-all jar 1.9.5
org.hamcrest : hamcrest-library jar 1.3
org.hamcrest : hamcrest-core jar 1.3

Модули Проекта

Данный проект не имеет модулей.

vraptor-error-control

Build status

A simple vraptor plugin that allows you to real time control error messages sending them by email

installing

Vraptor-error-control.jar can be downloaded from maven's repository, or configured in any compatible tool:

	<dependency>
		<groupId>br.com.caelum.vraptor</groupId>
		<artifactId>vraptor-error-control</artifactId>
		<version>4.0.2</version>
		<scope>compile</scope>
	</dependency>

Dependencies

To use VRaptor Error Control you need to put vraptor-simplemail at your classpath

Configuring

In your environment.properties(vraptor-environment files), you need to configure the following vraptor-simplemail' keys:

	vraptor.simplemail.main.server
	vraptor.simplemail.main.port
	vraptor.simplemail.main.tls
	vraptor.simplemail.main.from.name
	vraptor.simplemail.main.from
	vraptor.simplemail.main.username
	vraptor.simplemail.main.password
	vraptor.simplemail.main.error-mailing-list

To customize the email's subject, use the key bellow:

	vraptor.errorcontrol.error.subject

You can display when the email was sent by adding a joda time pattern using the following key:

	vraptor.errorcontrol.date.joda.pattern

In your web.xml file, you need to map the error-code 500 to /error500:

	<error-page>
		<error-code>500</error-code>
		<location>/error500</location>
	</error-page>

After sending the email, the vraptor-error-control will forward the request to jsp/error/500.jsp and include the stack trace as an attribute of the request with the key "stackTrace".

help

Get help from vraptor developers and the community at vraptor mailing list.

br.com.caelum.vraptor

Caelum

Версии библиотеки

Версия
4.0.3
4.0.2
4.0.1
4.0.0.Final
4.0.0-RC2
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2